home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Archives
/
Replacements
/
cpdist_0_17.lha
/
cpdist-0.17
/
source
/
DMakefile
< prev
next >
Wrap
Makefile
|
1994-06-03
|
2KB
|
67 lines
# CPDIST DMakefile for Dillon's DICE C Compiler om the Commodore AMIGA
#
# (c)Copyright 1992-93 by Tobias Ferber.
#
# This file is part of CPDIST.
#
# CPDIST is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published
# by the Free Software Foundation; either version 1 of the License, or
# (at your option) any later version.
#
# CPDIST is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with CPDIST; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
CC=dcc
# -DNO_GETKEY use gets() instead of getkey()
# -DNO_PERROR don't use perror()
CFLAGS= -1.3 -s
objs= main.o args.o msg.o cpdist.o keys.o getkey.o filecopy.o
dist= cpdist-0.17
all: cpdist
cpdist: $(objs)
$(CC) $(CFLAGS) -o%(left) %(right)
main.o: main.c
$(CC) $(CFLAGS) -c -o%(left) %(right)
args.o: args.c
$(CC) $(CFLAGS) -c -o%(left) %(right)
msg.o: msg.c
$(CC) $(CFLAGS) -c -o%(left) %(right)
keys.o: keys.c
$(CC) $(CFLAGS) -c -o%(left) %(right)
cpdist.o: cpdist.c
$(CC) $(CFLAGS) -c -o%(left) %(right)
getkey.o: getkey.c
$(CC) $(CFLAGS) -c -o%(left) %(right)
filecopy.o: filecopy.c
$(CC) $(CFLAGS) -c -o%(left) %(right)
clean:
delete quiet #?.o cpdist $(dist).tar#?
dist:
makedir $(dist)
cpdist -f Distfile $(dist)
tar cf $(dist).tar $(dist)
gzip -9 $(dist).tar
delete all quiet $(dist)